<div class="modal-header">
  <h3 class="modal-title">项目设置</h3>
</div>
<div class="modal-body project-detail">
  <form name="projectForm" novalidate="novalidate">
    <div class="row">
      <p>项目名称</p>
      <input type="text" name="project_name" ng-model="vm.project.project_name" style="width:94.5%;" required>
      <div ng-if="projectForm.project_name.$invalid" ng-messages="projectForm.project_name.$error">
        <label class="error-messages" ng-message="required"> <i></i>
          不能为空
        </label>
      </div>
    </div>
    <div class="row">
      <p>备注</p>
      <textarea type="text" name="description" ng-model="vm.project.description" rows="4" style="width:94.5%;"></textarea>
    </div>
  </form>
</div>
<div class="modal-footer" style="clear: both">
  <button class="btn btn-default-dark"  ng-click="vm.ok()" ng-disabled="projectForm.$invalid">确认</button>
  <a class="btn btn-default-dark" ng-click="vm.cancel()">取消</a>
</div>